package com.lhq.business.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 *
 * 章节内容
 * @author lhq
 * @version 1.0
 * @date 2024/5/15 15:14
 */

@Data
@Document("NovelBook")
public class NovelBook {
    @Id
    private String id;
    @Field("id")
    private Integer chapterId;
    @Field("book_id")
    private String bookId;
    @Field("name")
    private String name;
    @Field("chapter_name")
    private String chapterName;
    @Field("author")
    private String author;
    @Field("content")
    private String content;
    @Field("create_time")
    private String createTime;
    @Field("update_time")
    private String updateTime;

}
